package org.example.springwebmvc.model;

import lombok.Data;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data   // 添加lombok 更快开发 无需再写 setter getter
public class MessageInfo {
    private String from;
    private String to;
    private String say; // say 对应着 数据库中的 message
    private Timestamp createTime;
    private LocalDateTime updateTime;
    private Integer deleteFlag;
}
